home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / emacs.lha / emacs-19.16 / vms / emacs.com < prev    next >
Text File  |  1992-11-06  |  1KB  |  37 lines

  1. $! VMS command file to make the definitions needed to run the installed Emacs.
  2. $! You must execute this in each session in order to run Emacs or else it must
  3. $! be executed by the system at each boot.
  4. $!
  5. $! If you execute at boot time, specify "/SYSTEM" as the first parameter.
  6. $!
  7. $! This file must reside in the [.vms] subdirectory of the Emacs tree when it
  8. $! is executed, because it uses its own directory to initialize a logical name.
  9. $!
  10. $ home = f$environment("DEFAULT")
  11. $ path = f$environment("PROCEDURE")
  12. $ path = f$extract(0,f$locate("]",path)+1,path)
  13. $ set default 'path'
  14. $ set default [-]
  15. $ fdev = f$parse(f$environment("DEFAULT"),,,"DEVICE")-":"
  16. $ fdir = f$parse(f$environment("DEFAULT"),,,"DIRECTORY")-"["
  17. $ ftrn = f$trnlnm(fdev)
  18. $ if ftrn .eqs. "" then ftrn = fdev + ":[]"
  19. $ ndef = ftrn - "]" + fdir - ".000000"
  20. $ base = ndef - "]" + ".]"
  21. $ set default 'home'
  22. $!
  23. $ define 'p1' /translation=concealed emacs_library 'base'
  24. $!
  25. $! This should really not be here, but is defined to allow testing to work
  26. $! without interfering with system logical.
  27. $!
  28. $ define 'p1' emacsloadpath emacs_library:[lisp]
  29. $!
  30. $! The following logical name is needed for M-x shell to work.
  31. $! process.c\create_process keys on the string *dcl*.
  32. $!
  33. $ define 'p1' eshell "*dcl*"
  34. $!
  35. $ runemacs :== $emacs_library:[000000]emacs -map emacs_library:[000000]emacs.dump
  36. $ emacs :== @emacs_library:[vms]kepteditor emacs
  37.